

  var editor = CodeMirror.fromTextArea('code', {
    parserfile: ["tokenizejavascript.js", "parsejavascript.js"],
    stylesheet: "/public/cm/css/jscolors.css",
    path: "/public/cm/js/",
    continuousScanning: 200,
    lineNumbers: false
  });

function runSelection () {
   var scr = document.getElementById('code').getCode()
}

